package edu.sctu.nieyu.day20150614.TestFile;

import java.io.File;

/**
 * Created by user01 on 2015/6/14.
 */
public class FileClient {

    public static final String FILE_PATH = "D://test";
    public static final String FILE_NEW_PATH =FILE_PATH + "//lianxi.txt";
    public static final String FILE_NEW_PATH2=FILE_PATH + "//lianxi2.txt";

    public static void main(String[] args) {
        FileUtil fu = new FileUtil();
        fu.createFile(new File(FILE_PATH));
        fu.createNewFile(FILE_NEW_PATH);
        fu.createNewFile(FILE_NEW_PATH2);
        fu.delete(FILE_NEW_PATH2);
        fu.getname(new File(FILE_PATH));

    }
}
